package com.xcity.pomelo.response;

import naga.x.net.impl.pomelo.PomeloMessage;
import naga.x.net.impl.pomelo.protocol.Message;

@PomeloMessage(type = Message.Type.RESPONSE)
public class ReadMailResponse extends Response {

	protected int id; // mail id
	protected byte state; // 状态 0:未读; 1:已读; 2:附件已领取
	
	public ReadMailResponse(int serial, int id, byte state) {
		super(serial);
		this.id = id;
		this.state = state;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public byte getState() {
		return state;
	}

	public void setState(byte state) {
		this.state = state;
	}

}
